<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="base_path.jsp" %>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="description" content="">

    <link rel="stylesheet" type="text/css" href="<%=basePath%>/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/static/h-ui.admin/skin/default/skin.css"
          id="skin" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" media="screen"
          href="<%=basePath%>/lib/lobibox/css/lobibox.min.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<%=basePath%>/css/mainUI.css" />

    <title>智能语音应答系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <style>
        #system {
            height: 44px;
            line-height: 44px;
            margin-right: 10px;
            font-size: 20px ;

        }
        #drop-arrow{
            color: rgba(255, 255, 255, 0.41);
            margin-right: 16px;
            transition:transform 0.2s linear
        }
        .menu_dropdown{
            scrollbar-width:none;
            -ms-overflow-style: none; /* IE 10+ */
        }
        ::-webkit-scrollbar {

            display: none; /* Chrome Safari */

        }
    </style>
</head>

<body>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="" id="system">智能语音应答系统</a>
            <%--<a class="logo navbar-logo-m f-l mr-10 visible-xs" href="">${platformName}</a>--%>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">${version}</span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs"
               href="javascript:;">&#xe667;</a>

            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">

                <ul class="cl">
                    <li></li>
                    <li class="dropDown dropDown_hover">
                        <a href="#" class="dropDown_A">
                            <shiro:user>
                                <shiro:principal />
                            </shiro:user> <i class="Hui-iconfont">&#xe6d5;</i>
                        </a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <%--<li><a href="javascript:;" id="myselfInfo">个人信息</a>
                    </li>--%>
                            <li><a data-href="<%=basePath%>/account/personalInfo.do" data-title="个人信息"
                                   href="javascript:void(0)" id="myselfInfo">个人信息</a></li>
                            <%--<li><a href="#">切换账户</a></li>--%>
                            <li><a href="#" id="logout">退出</a></li>
                        </ul>
                    </li>
                    <%--<li id="Hui-msg"><a href="#" title="消息"><span
                                class="badge badge-danger">1</span><i--%>
                    <%--class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a>
            </li>--%>

                </ul>
            </nav>
        </div>
    </div>
</header>
<aside   class="Hui-aside bk-gray">
    <div class="menu_dropdown" >
        <dl id="home">
            <dt><i class="Hui-iconfont">&#xe625;</i> 首页</dt>
        </dl>
        <c:choose>
            <c:when test="${roleId==1}">
                <shiro:hasRole name="role_super_admin">
                    <dl id="account-mgr">
                        <dt><i class="Hui-iconfont">&#xe705;</i> 呼入中心<i
                                class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                        </dt>
                        <dd>
                            <ul>
                                <li><a data-href="<%=basePath%>/realTimeMonitoring/showMonitoring.do"
                                       data-title="实时监控" href="javascript:void(0)">实时监控</a></li>
                                <li id="infoexcl" style="color:white;user-select:none; padding-left: 53px;cursor: pointer;display: flex;justify-content: space-between;align-items: center">
                                    <span class="down-show">数据报表</span><i
                                        class="Hui-iconfont menu_dropdown-arrow " id="drop-arrow">&#xe6d5;</i>
                                </li>
                                <ul  id="infoexclshow" style="width: 200px;">
                                    <li >
                                        <a data-href="<%=basePath%>/ivrReportForms/showIVRreportForms.do"
                                           data-title="IVR报表"
                                           href="javascript:void(0)" style="padding-left: 60px;">IVR报表</a>
                                    </li>
                                    <li  >
                                        <a data-href="<%=basePath%>/ivrReportForms/showListReportForms.do"
                                           data-title="队列报表"
                                           href="javascript:void(0)" style="padding-left: 60px;">队列报表</a>
                                    </li>
                                    <li  >
                                        <a data-href="<%=basePath%>/ivrReportForms/showArtificailReportForms.do"
                                           data-title="人工报表"
                                           href="javascript:void(0)" style="padding-left: 60px;">人工报表</a>
                                    </li>
                                </ul>

                                <li><a data-href="<%=basePath%>/manualCall/showManualCallList.do"
                                       data-title="人工通话" href="javascript:void(0)">人工通话</a>
                                </li>
                                <li><a data-href="<%=basePath%>/tiers/showSeatArrangement.do"
                                       data-title="队列配置" href="javascript:void(0)">队列配置</a></li>
                                <li><a data-href="<%=basePath%>/date/showTimeConfig.do"
                                       data-title="工作时间" href="javascript:void(0)">工作时间</a></li>
                            </ul>
                        </dd>
                    </dl>

                </shiro:hasRole>
            </c:when>
            <c:otherwise>
                <c:if test="${envMap['18000']==0}">
                    <shiro:hasPermission name="huruzhongxin">
                        <dl id="account-mgr">
                            <dt><i class="Hui-iconfont">&#xe6c7;</i> 呼入中心<i
                                    class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                            </dt>
                            <dd>
                                <ul>
                                    <shiro:hasPermission name="huruzhongxin">
                                        <c:choose>
                                            <c:when test="${envMap['18001']==0}">
                                                <li><a data-href="<%=basePath%>/realTimeMonitoring/showMonitoring.do"
                                                       data-title="实时监控" href="javascript:void(0)">实时监控</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                    <shiro:hasPermission name="huruzhongxinshujubaobiao">
                                        <c:choose>
                                            <c:when test="${envMap['18002']==0||envMap['18003']==0||envMap['18004']==0}" >
                                                <li id="infoexcl" style="color:white;user-select:none; padding-left: 53px;cursor: pointer;display: flex;justify-content: space-between;align-items: center">
                                                    <span class="down-show">数据报表</span><i
                                                        class="Hui-iconfont menu_dropdown-arrow " id="drop-arrow">&#xe6d5;</i>
                                                </li>
                                                <ul  id="infoexclshow" >
                                                    <shiro:hasPermission name="IVRbaobiao">
                                                        <c:choose>
                                                            <c:when test="${envMap['18002']==0}">
                                                                <li >
                                                                    <a data-href="<%=basePath%>/ivrReportForms/showIVRreportForms.do"
                                                                       data-title="IVR报表"
                                                                       href="javascript:void(0)" style="padding-left: 68px;" >IVR报表</a>
                                                                </li>
                                                            </c:when>
                                                        </c:choose>
                                                    </shiro:hasPermission>
                                                    <shiro:hasPermission name="duiliebaobiao">
                                                        <c:choose>
                                                            <c:when test="${envMap['18003']==0}">

                                                                <li >
                                                                    <a data-href="<%=basePath%>/ivrReportForms/showListReportForms.do"
                                                                       data-title="队列报表"
                                                                       href="javascript:void(0)" style="padding-left: 68px;" >队列报表</a>
                                                                </li>
                                                            </c:when>
                                                        </c:choose>
                                                    </shiro:hasPermission>
                                                    <shiro:hasPermission name="rengongbaobiao">
                                                        <c:choose>
                                                            <c:when test="${envMap['18004']==0}">
                                                                <li  >
                                                                    <a data-href="<%=basePath%>/ivrReportForms/showArtificailReportForms.do"
                                                                       data-title="人工报表"
                                                                       href="javascript:void(0)" style="padding-left: 68px;">人工报表</a>
                                                                </li>
                                                            </c:when>
                                                        </c:choose>
                                                    </shiro:hasPermission>

                                                </ul>

                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>

                                    <shiro:hasPermission name="rengongtonghualiebiao">
                                        <c:choose>
                                            <c:when test="${envMap['18005']==0}">
                                                <li><a data-href="<%=basePath%>/manualCall/showManualCallList.do"
                                                       data-title="人工通话" href="javascript:void(0)">人工通话</a>
                                                </li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                    <shiro:hasPermission name="zuoxipeizhi">
                                        <c:choose>
                                            <c:when test="${envMap['18006']==0}">
                                                <li><a data-href="<%=basePath%>/tiers/showSeatArrangement.do"
                                                       data-title="队列配置" href="javascript:void(0)">队列配置</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                    <shiro:hasPermission name="gongzuoshijian">
                                        <c:choose>
                                            <c:when test="${envMap['18007']==0}">
                                                <li><a data-href="<%=basePath%>/date/showTimeConfig.do"
                                                       data-title="工作时间" href="javascript:void(0)">工作时间</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>



                                </ul>
                            </dd>
                        </dl>
                    </shiro:hasPermission>
                </c:if>

            </c:otherwise>
        </c:choose>

        <c:choose>
            <c:when test="${roleId==1}" >
                <shiro:hasRole name="role_super_admin" >
                    <dl id="menu-business">
                        <dt><i class="Hui-iconfont">&#xe616;</i> 业务中心<i
                                class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                        <dd>
                            <ul>
                                    <%--<li><a data-href="<%=basePath%>/business/showBusinessList.do"
                                            data-title="业务列表" href="javascript:void(0)"
                                            id="BusinessList">业务列表</a></li>--%>
                                    <%--<li><a
                                            data-href="<%=basePath%>/business/showBusinessManager.do"
                                            data-title="业务管理" --%>
                                    <%--href="javascript:void(0)">业务管理</a></li>--%>
                                <li><a data-href="<%=basePath%>/business/showCallInBusinessView.do"
                                       data-title="业务管理" href="javascript:void(0)">业务管理</a>
                                </li>
                                <!--<li><a data-href="<%=basePath%>/business/showCreateBusiness.do" data-title="业务创建" href="javascript:void(0)">业务创建</a></li>-->
                                    <%--<li><a data-href="<%=basePath%>/task/showTaskManager.do"
                                            data-title="任务管理" --%>
                                    <%--href="javascript:void(0)">任务管理</a></li>--%>
                                <li><a data-href="<%=basePath%>/call/incoming/showCallIncomingInfoList.do"
                                       data-title="通话列表"
                                       href="javascript:void(0)">通话列表</a></li>
                            </ul>
                        </dd>
                    </dl>
                </shiro:hasRole>
            </c:when>
            <c:otherwise>
                <c:if test="${envMap['10000']==0}">
                    <shiro:hasPermission name="yewuzhongxin">
                        <dl id="menu-business">
                            <dt><i class="Hui-iconfont">&#xe616;</i> 业务中心<i
                                    class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                            <dd>
                                <ul>
                                        <%--<shiro:hasPermission name="yewuliebiao">--%>
                                        <%--<li><a
                                                data-href="<%=basePath%>/business/showBusinessList.do"
                                                data-title="业务列表" href="javascript:void(0)"
                                                id="BusinessList">业务列表</a></li>--%>
                                        <%--< /shiro:hasPermission>--%>
                                    <shiro:hasPermission name="yewuguanli">
                                        <c:choose>
                                            <c:when test="${envMap['10001']==0}">
                                                <li><a data-href="<%=basePath%>/business/showCallInBusinessView.do"
                                                       data-title="业务管理"
                                                       href="javascript:void(0)">业务管理</a>
                                                </li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                    <c:choose>
                                        <c:when test="${envMap['10002']==0}">
                                            <%--<li><a
                                                    data-href="<%=basePath%>/task/showTaskManager.do"
                                                    data-title="任务管理" --%>
                                            <%--href="javascript:void(0)">任务管理</a>
                                        </li>--%>
                                            <li><a data-href="<%=basePath%>/call/incoming/showCallIncomingInfoList.do"
                                                   data-title="通话列表"
                                                   href="javascript:void(0)">通话列表</a>
                                            </li>
                                        </c:when>
                                    </c:choose>
                                        <%--<shiro:hasPermission name="yewuchuangjian">--%>
                                        <%--<li><a
                                                data-href="<%=basePath%>/business/showCreateBusiness.do"
                                                data-title="业务创建"
                                                href="javascript:void(0)">业务创建</a></li>--%>
                                        <%--< /shiro:hasPermission>--%>
                                </ul>
                            </dd>
                        </dl>

                    </shiro:hasPermission>
                </c:if>
            </c:otherwise>
        </c:choose>
        <c:choose>
            <c:when test="${roleId==1}">
                <dl id="menu-monitor">
                    <dt><i class="Hui-iconfont">&#xe61a;</i> 系统监控<i
                            class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                    </dt>
                    <dd>
                        <ul>
                            <li><a data-href="<%=basePath%>/monitor/showRobotList.do"
                                   data-title="机器人监控" href="javascript:void(0)">机器人监控</a></li>
                            <li><a data-href="<%=basePath%>/monitor/showRealTimeMonitor.do"
                                   data-title="实时监听" href="javascript:void(0)">实时监听</a></li>
                            <li><a data-href="<%=basePath%>/monitor/showCallMonitorCollection.do"
                                   data-title="监听收藏夹" href="javascript:void(0)">监听收藏夹</a></li>
                        </ul>
                    </dd>
                </dl>
            </c:when>
            <c:otherwise>
                <c:if test="${envMap['11000']==0}">
                    <shiro:hasPermission name="xitongjiankong">
                        <dl id="menu-monitor">
                            <dt><i class="Hui-iconfont">&#xe61a;</i> 系统监控<i
                                    class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                            </dt>
                            <dd>
                                <ul>
                                    <shiro:hasPermission name="jiqirenjiankong">
                                        <c:choose>
                                            <c:when test="${envMap['11001']==0}">
                                                <li><a data-href="<%=basePath%>/monitor/showRobotList.do"
                                                       data-title="机器人监控"
                                                       href="javascript:void(0)">机器人监控</a></li>
                                            </c:when>
                                        </c:choose>
                                        <c:choose>
                                            <c:when test="${envMap['11002']==0}">
                                                <li><a data-href="<%=basePath%>/monitor/showRealTimeMonitor.do"
                                                       data-title="实时监听"
                                                       href="javascript:void(0)">实时监听</a></li>
                                            </c:when>
                                        </c:choose>
                                        <c:choose>
                                            <c:when test="${envMap['11003']==0}">
                                                <li><a data-href="<%=basePath%>/monitor/showCallMonitorCollection.do"
                                                       data-title="监听收藏夹"
                                                       href="javascript:void(0)">监听收藏夹</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                </ul>
                            </dd>
                        </dl>
                    </shiro:hasPermission>
                </c:if>
            </c:otherwise>
        </c:choose>
        <c:choose>
            <c:when test="${roleId==1}">
                <shiro:hasRole name="role_super_admin">
                    <dl id="data-report">
                        <dt><i class="Hui-iconfont">&#xe635;</i> 数据报表<i
                                class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                        </dt>
                        <dd>
                            <ul>
                                <li><a data-href="<%=basePath%>/report/showBusinessSummaryPage.do"
                                       data-title="业务汇总分析" href="javascript:void(0)">业务汇总分析</a>
                                </li>

                            </ul>
                        </dd>
                    </dl>
                </shiro:hasRole>
            </c:when>
            <c:otherwise>
                <c:if test="${envMap['13000']==0}">
                    <shiro:hasPermission name="shujubaobiao">
                        <dl id="data-report">
                            <dt><i class="Hui-iconfont">&#xe635;</i> 数据报表<i
                                    class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                            </dt>
                            <dd>
                                <ul>
                                    <shiro:hasPermission name="yewuhuizongfenxi">
                                        <c:choose>
                                            <c:when test="${envMap['13001']==0}">
                                                <li><a data-href="<%=basePath%>/report/showBusinessSummaryPage.do"
                                                       data-title="业务汇总分析"
                                                       href="javascript:void(0)">业务汇总分析</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>

                                </ul>
                            </dd>
                        </dl>
                    </shiro:hasPermission>
                </c:if>

            </c:otherwise>
        </c:choose>
        <c:choose>
            <c:when test="${roleId==1}">
                <shiro:hasRole name="role_super_admin">
                    <dl id="account-mgr">
                        <dt><i class="Hui-iconfont">&#xe705;</i> 账户管理<i
                                class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                        </dt>
                        <dd>
                            <ul>
                                <li><a data-href="<%=basePath%>/account/personalInfo.do"
                                       data-title="个人信息" href="javascript:void(0)"
                                       id="MenumyselfInfo">个人信息</a></li>
                                <li><a data-href="<%=basePath%>/account/showUserManagePage.do"
                                       data-title="账户管理" href="javascript:void(0)">账户管理</a></li>
                                <li><a data-href="<%=basePath%>/account/showOrgManagerPage.do"
                                       data-title="组织管理" href="javascript:void(0)">组织管理</a></li>
                            </ul>
                        </dd>
                    </dl>
                </shiro:hasRole>
            </c:when>
            <c:otherwise >
                <c:if test="${envMap['17000']==0}">
                    <shiro:hasPermission name="zhanghuguanli">
                        <dl id="account-mgr">
                            <dt><i class="Hui-iconfont">&#xe705;</i> 账户管理<i
                                    class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                            </dt>
                            <dd>
                                <ul>
                                    <shiro:hasPermission name="gerenxinxi">
                                        <c:choose>
                                            <c:when test="${envMap['16001']==0}">
                                                <li><a data-href="<%=basePath%>/account/personalInfo.do"
                                                       data-title="个人信息" href="javascript:void(0)"
                                                       id="MenumyselfInfo">个人信息</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                    <shiro:hasPermission name="guanlizhanghu">
                                        <c:choose>
                                            <c:when test="${envMap['16002']==0}">
                                                <li><a data-href="<%=basePath%>/account/showUserManagePage.do"
                                                       data-title="账户管理"
                                                       href="javascript:void(0)">账户管理</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>
                                    <shiro:hasPermission name="guanlizuzhi">
                                        <c:choose>
                                            <c:when test="${envMap['16003']==0}">
                                                <li><a data-href="<%=basePath%>/account/showOrgManagerPage.do"
                                                       data-title="组织管理"
                                                       href="javascript:void(0)">组织管理</a></li>
                                            </c:when>
                                        </c:choose>
                                    </shiro:hasPermission>

                                </ul>
                            </dd>
                        </dl>
                    </shiro:hasPermission>
                </c:if>
            </c:otherwise>

        </c:choose>
        <shiro:hasRole name="role_super_admin">
            <dl id="menu-system">
                <dt><i class="Hui-iconfont">&#xe62e;</i> 系统管理<i
                        class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                </dt>
                <dd>
                    <ul>
                        <li><a data-href="<%=basePath%>/call_config/businessTemplate/showBusinessTemplateList.do"
                               data-title="业务模板管理" href="javascript:void(0)">业务模板管理</a></li>
                        <li><a data-href="<%=basePath%>/config/showCallEnvConfig.do"
                               data-title="通话环境配置" href="javascript:void(0)">通话环境配置</a></li>

                        <li><a data-href="<%=basePath%>/config/showAccessEnvConfig.do"
                               data-title="访问权限配置" href="javascript:void(0)">访问权限配置</a></li>
                    </ul>
                </dd>
            </dl>
        </shiro:hasRole>
        <%--< /c:otherwise>--%>
        <%--< /c:choose>--%>
    </div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);"
                                       onClick="displaynavbar(this)"></a>
</div>
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs hide">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="主页" data-href="welcome.do">主页</span>
                    <em></em>
                </li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev"
                                                  class="btn radius btn-default size-S" href="javascript:;"><i
                class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next"
                                                        class="btn radius btn-default size-S" href="javascript:;"><i
                class="Hui-iconfont">&#xe6d7;</i></a>
        </div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe scrolling="yes" frameborder="0" src="welcome.do"  ></iframe>
        </div>
    </div>
</section>

<div class="contextMenu" id="Huiadminmenu">
    <ul>
        <li id="closethis">关闭当前</li>
        <li id="closeall">关闭全部</li>
    </ul>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="<%=basePath%>/lib/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript"
        src="<%=basePath%>/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript" src="<%=basePath%>/lib/lobibox/js/lobibox.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/lib/lobibox/js/messageboxes.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/lib/lobibox/js/notifications.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/common.js"></script>
<script type="text/javascript">
    $(function () {
        <%--console.log(${ envMap})--%>
        var ws = new WebSocket("${wsUrl}");
        ws.onopen = function (e) {
            ws.send(new Date().getTime());
        };
        ws.onmessage = function (e) {
            var data = JSON.parse(e.data);
            Lobibox.notify('info', {
                delay: false,
                sound: false,
                title: data["title"],
                msg: data["content"]
            });
        };

        $("#infoexclshow").hide()

        $("#infoexcl").on("click", function () {
            $("#infoexclshow").toggle()
            console.log( $("#infoexclshow").css("display"))
            $("#drop-arrow").css("display",'block')
            if($("#infoexclshow").css("display")!=="none"){
                $("#drop-arrow").css("transform",'rotate(180deg)')
            }
            else {
                $("#drop-arrow").css("transform",'rotate(0deg)')
            }


        });
        $("#BusinessList").on("click", function () {
            localStorage.BusinessListPageNum = null;
        });
        $("#myselfInfo").on("click", function () {
            $("#MenumyselfInfo").click();
        })
        $("#logout").click(function () {
            $.ajax({
                url: "<%=basePath%>/logout.do",
                async: false,
                cache: false,
                dataType: "json",
                success: function (data) {
                    console.log(data)
                    if (data["errorCode"] == "0") {
                        window.location.href = "<%=basePath%>/index.do";
                    }
                },
                error: function (data) {

                }

            });
        });

    });
    iframeChange()
    function iframeChange(){
        console.log(document.getElementById("iframe_box"))
    }

    $("#home").click(function () {
        $("#min_title_list").find("li").eq(0).click();
    })
</script>


</body>

</html>